<%@page import="domein.*" %>
<%@page import="java.net.URLDecoder"%>
<%@page import="java.util.*" %>
<%@page import="java.text.SimpleDateFormat" %>
<%
String pageTitel = "Levering bevestigen"; //pagina titel wordt getoond in header.jsp
%>
<!-- include header -->
<%@ include file="../skelet/header.jsp"%>

<!-- begin content -->
			<div class="span12">
				<div class="hero-unit">
				
				<%
						String error = (String) request.getAttribute("error");
						if (error != null && !error.isEmpty()) {
					%>
					<div class="alert alert-error">
						<%
							out.println(URLDecoder.decode(error, "UTF-8") + "<br/>");
						%>
					</div>
					<%
						}
					%>
					<h1>Levering bevestigen</h1>
					<form action="${pageContext.request.contextPath}/medewerker/LeveringBevestigen.do" method="post">
						<label> Ordernummer: </label><input type="text" name="invoer" /><br/>
						<select name="bestelnummer" multiple size="3">
						<%for(Bestelling b : Bestellingen.getBestellingen()){
							out.print("<option value='" +b.getBestelNummer()+ "'>"+b.getBestelNummer()+"</option>");
						}
							%>
						</select><br/>
        				<input type="submit" value="bevestig" />
				</div>
				    </form>

			</div>

	<!-- eind content -->			
			
<!-- include footer -->			
<%@ include file="../skelet/footer.jsp"%>